﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace TCMS.Models.Entities
{
    public class ShopFloorEntity
    {
        public string ID { get; set; }

        public string ShopName { get; set; }

        public int Status { get; set; }

        public int Xposition { get; set; }

        public int Yposition { get; set; }

        public string Remark { get; set; }

        public string Icon { get; set; }

        public string StatusName
        {
            get
            {
                if (Status == 0)
                {
                    return "空闲";
                }

                return "忙";
            }
        }

        public TaskEntity Task { get; set; }
    }
}